package xyz.hzxiao.utils;

/**
 * @Author: scy
 * @Date: 2022-09-02 17:18
 */
public class PathUtil {

    public static boolean isPathMatch(String pattern, String path) {
        return path.startsWith(pattern);
    }

    public static boolean isNotPathMatch(String pattern, String path) {
        return !path.startsWith(pattern);
    }
}
